export class IPEndPoint {
    public Address: string;
    public Port: number;
    public URLType = URLType.Ws;
    constructor(address: string, port: number, urltype = URLType.Ws) {
        this.Address = address;
        this.Port = port;
    }
    toString() {
        switch (this.URLType) {
            case URLType.Ws:
                return `ws://${this.Address}:${this.Port}/ws`;
            case URLType.Wss:
                return `wss://${this.Address}:${this.Port}/wss`;
        }
    }
}
export enum URLType {
    Ws,
    Wss
}